FROM golang:1.8.3-alpine

RUN apk update && apk upgrade && apk add --no-cache bash git
RUN go get  gitee.com/smilehard/gocloud
#Run go get github.com/kataras/iris
#ENV SOURCES /go/src/github.com/iris-contrib/cloud-native-go

#COPY . ${SOURCES}

#RUN cd ${SOURCES} $$ CGO_ENABLED=0 go build

ENTRYPOINT gocloud
EXPOSE 8080